package com.push.common.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@Slf4j
@ConfigurationProperties(prefix = "trans")
public class TransConfig {
    /** appid */
    private String appid;

    /** securityKey */
    private String securityKey;

    /** transUrl */
    private String transUrl;

    /** abstractTrans */
    private boolean abstractTrans;

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getSecurityKey() {
        return securityKey;
    }

    public void setSecurityKey(String securityKey) {
        this.securityKey = securityKey;
    }

    public String getTransUrl() {
        return transUrl;
    }

    public void setTransUrl(String transUrl) {
        this.transUrl = transUrl;
    }

    public boolean isAbstractTrans() {
        return abstractTrans;
    }

    public void setAbstractTrans(boolean abstractTrans) {
        this.abstractTrans = abstractTrans;
    }
}
